@import 'dev.scss';
.fix-to-top{
  position: fixed;
  z-index: 200;
  top:1.36rem;
  width: 100%;
  padding:0 !important;
  height: 1.2rem !important;
  background-color: #f8f8f8 !important;
  img{
    display: none;
  }
  .item{
    height: 1.2rem !important;
    p{
      transition: all .6s !important;
      font-size: 14px !important;
    }
  }
  .mui-table-view{
      background-color: #f8f8f8;
      border-bottom: 1px solid #eee;
      box-shadow: 0 1px 5px 1px rgba(0,0,0,.4);
  }
}
.show-transition {
  transition: opacity .6s ease;
  opacity: 1;
}

.show-enter{
  opacity: 0;
}
.show-leave{
  display:none;
}

.lazyCon{
  text-align: center;
}
img[lazy=loading] {
 width:80px !important;
 height: auto !important;
 vertical-align: middle !important;
 margin-top: 30px;
}
img[lazy=error] {
  width: 100% !important;
}
.margin-ht{
  margin-top: 1.36rem;
}
.no-fix{
  @include clearfix();
}
.wechat-active{
  .item{
    padding:0 fr(20);
  }
  a{
    box-sizing: border-box;
    border-bottom: 2px solid #E74C3C;
  }
  .iconfont{
    color: #E74C3C !important;
  }
  p{
    color: #E74C3C !important;
  }
}
.wechat-btn{
  padding: 6px 15px;
  background-color: #E74C3C;
  border-radius: 4px !important;
  border:none;
  color: #fff;
  letter-spacing: 6px;
  margin-top: 6px;
  width: 100% !important;
}
.wechat-right-icon{
  position: absolute;
  right:10px;
  z-index: 10;
  top: 6px;
  color: #9B9B9B;
  // font-size: 16px;
}
.custom-picker{
  position: absolute;
  top: 2.6rem;
  width: 90% !important;
  padding: 0 fr(15);
  left: 5% !important;
  overflow: visible !important;
  z-index: 999;
  background-color: #fff;
  .title-p{
    text-align: center;
    background-color: #e74c3c;
    color: #fff;
    font-size: 18px;
    line-height: fr(70);
    margin:0 fr(-15);
  }
  .mui-table-view:after{
    height: 0;
  }
  textarea{
    resize: none;
    height: fr(180);
    margin-top: fr(15);
    margin-bottom: fr(20);
  }
  .mui-table-view{
    text-align: center;
    border-radius: 0;
    background-color: #fff;
    overflow: visible !important;
    .mui-table-view-cell{
      border-radius: 0;
      margin-top: fr(20);
      background-color: #F5F5F5;
      padding:0;
      font-size: 14px;
      position: relative;
      overflow: visible;
      z-index: 1000;
      a{
        line-height: fr(65);
        border:1px solid #BBBABF;
        border-radius: 0;
        height: fr(65);
        margin:0;
        color: #5f5f5f;
        padding-left: fr(12);
        text-align: left;
        .iconfont{
          font-size: 20px;
        }
      }
      .mui-collapse-content{
          max-height: fr(600);
          overflow: scroll;
          margin: 0;
          padding:0;
          position: absolute;
          z-index: 2000;
          top: fr(65);
          left: 0;
          background-color: #fff;
          width: 100%;
        p{
          text-align: center;
          border:1px solid #BBBABF;
          border-top: none;
          height: fr(96);
          padding:0;
          margin:0;
          line-height: fr(96);
        }
      }
    }
  }
}
.responsive-img{
  width: 100%;
  height: auto;
}
.wechat-full{
  display: block;
  width: 100%;
  height: 100%;
}
/*选择送货时间弹窗样式*/
.prompt{
  border-radius: 5px !important;
  .layui-layer-content{
    padding: 10px;
  }
  .layui-layer-title{
    color: #666;
    border-radius: 5px;
    background: #fff;
    margin: 0 10px;
    padding:0;
    text-align: center;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
  .mui-input-group{
      &:before{
        background-color: inherit;
      }
      &:after{
        background-color: inherit;
      }
      .mui-input-row{
          overflow: visible;
          height:auto;
          &:after{
            background-color: inherit;
          }
          label{
            font-size:14px;
            color:#333;
            padding:5px;
          }
          &.mui-radio{
            input[type='radio']{
              top:-3px;
            }
          }
          &.mui-left{
            label{
              padding-left:30px;
            }
            input[type='radio']{
              left:1px;
              &:before{
                font-size: 20px;
                line-height: 1.5;
              }
              &:checked{
                &:before{
                  color: #e84c3c;
                  font-size: 20px;
                  line-height: 1.5;
                }
              }
            }
          }

      }
  }
  .layui-layer-btn{
    a{
       border-radius: 5px;
        height:34px;/*fr(63)*/
        line-height: 34px;
        width: 45%;
        text-align: center;
        margin: 0 5px;
        &.layui-layer-btn0{
          color: #333;
          border:1px solid #d9d9d9;
          background: transparent;
        }
        &.layui-layer-btn1{
          color:#e84c3c;
          border:1px solid #e84c3c;
          background:#fff8f7;
        }
     }
  }
}
/*弹窗样式*/
.confirm{
  border-radius: 5px;
  &.layui-layer-dialog{
    .layui-layer-content{
      text-align: center;
      line-height: 7;
      color: #333;
      padding: 10px;
    }
  }
  .layui-layer-title{
    color: #666;
    border-radius: 10px;
    background: #fff;
    margin: 0 10px;
    padding:0;
    text-align: center;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
    .layui-layer-btn{
      padding: 5px 0;
      margin:0 15px;
      border-top:1px solid #e6e6e6;
      a{
        text-align: center;
        background: #fff;
        border:none;
        width: 49%;
        margin:0;
        padding:0;
        line-height: 36px;
        height: 36px;
        &.layui-layer-btn0{
          background: #fff;
          border-color: #fff;
          border-right:1px solid #e6e6e6;
          color: #666;
        }
        &.layui-layer-btn1{
          color: #3fb7f6;
        }
      }
    }
}


